# namespace = :weixin_sidekiq
# redis_conn = proc {
#   redis_connection = Redis.new(:host => "127.0.0.1", :port => 6379, :db => 15)
#   namespaced_redis = Redis::Namespace.new(namespace, :redis => redis_connection)
# }
Sidekiq.configure_client do |config|
  config.redis = {url: "redis://47.92.79.92:6379/14", namespace: "st_sidekiq", password: 'wjl13585753578'}
end

Sidekiq.configure_server do |config|
  config.redis = {url: "redis://127.0.0.1:6379/14", namespace: "st_sidekiq"}
end
